package com.wu.springcloud.fallback;

import com.wu.springcloud.service.HelloService;
import org.springframework.stereotype.Component;

/**
 * @ClassName MyFallback
 * @Author 浮生光
 * @Date 2022/6/2 21:43
 * @Description MyFallback
 * @Version 1.0
 */
@Component
public class MyFallback implements HelloService {
    @Override
    public String hello() {
        return "远程服务不可用，暂时采用本地逻辑代替........";
    } }